Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support linting complex udim2 constructors that can be simplified #601

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Quenty
Copy link

@Quenty Quenty commented May 22, 2024

This is a common PR comment and one that reduces readability. A selene lint to check for this usage will speed up development.

This is a common PR comment and one that reduces readability. A selene lint to check for this usage will speed up development.
Copy link
Collaborator

@chriscerie chriscerie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nits, overall looks good.

selene-lib/src/lints/roblox_complex_udim2_new.rs Outdated Show resolved Hide resolved
selene-lib/src/lints/roblox_complex_udim2_new.rs Outdated Show resolved Hide resolved
selene-lib/src/lints/roblox_complex_udim2_new.rs Outdated Show resolved Hide resolved
docs/src/lints/roblox_complex_udim2_new.md Outdated Show resolved Hide resolved
selene-lib/src/lints/roblox_complex_udim2_new.rs Outdated Show resolved Hide resolved
selene-lib/src/lints/roblox_complex_udim2_new.rs Outdated Show resolved Hide resolved
@Kampfkarren
Copy link
Owner

Can you update changelog too? @Quenty

@Quenty
Copy link
Author

Quenty commented Aug 13, 2024

Updated the changelog!

@Quenty Quenty requested a review from chriscerie August 13, 2024 20:11
Copy link
Collaborator

@chriscerie chriscerie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +329 to 330
roblox_manual_fromscale_or_fromoffset: lints::roblox_manual_fromscale_or_fromoffset::ManualFromScaleOrFromOffsetLint,
roblox_incorrect_color3_new_bounds: lints::roblox_incorrect_color3_new_bounds::Color3BoundsLint,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this should be alphabetical order. Same with lints.rs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants